package com.zhongke.cotrun.model.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "积分类型")
public class Integral {
    @ApiModelProperty(value = "id号自增", example = "12")
    private Integer integralId;   //积分id
    @ApiModelProperty(value = "积分类型名字", example = "注册积分")
    private String integralName;   //积分类型
    @ApiModelProperty(value = "积分类型说明", example = "注册积分")
    private String explain;   //说明
    @ApiModelProperty(value = "对应的接口给哪个接口用的", example = "user/login")
    private String port;         //对应的接口
    @ApiModelProperty(value = "创建时间", example = "2020/2/3")
    private Date createTime;          //创建时间
    @ApiModelProperty(value = "跟新时间", example = "2020/2/3")
    private Date updateTime;     //跟新时间
    @ApiModelProperty(value = "创建人id", example = "123")
    private Long createId;     //创建人id
    @ApiModelProperty(value = "积分参数", example = "2")
    private BigDecimal parameter;//参数
    private String hopRouting;//跳转的路由
    @ApiModelProperty(value = "积分状态", example = "0")
    private Integer state;//积分状态0正常 1禁用
    @ApiModelProperty(value = "搜索关键词", example = "注册积分")
    private String keyWord;//关键字搜索


    private IntegralRecord integralRecord;//关联积分id
}
